package com.wpp.dubbo.consume.service;

import com.wpp.dubbo.provider.service.TPService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * @Classname ConsumerService
 * @Description
 * @Date 2021/2/23 11:59
 * @Created by wpp25
 */
@Component
public class ConsumerService {

    @Reference
    private TPService tpService;

    public void method1() {
        tpService.methodA();
    }

    public void method2() {
        tpService.methodB();
    }

    public void method3() {
        tpService.methodC();
    }
}


